package com.hrm.entity;

import java.util.List;

import com.hrm.util.MyObject;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Role extends MyObject{

	private static final long serialVersionUID = 1L;

	private int id;

	public int getId (){
		return this.id;
	}

	public void setId (int id){
		 this.id=id;
	}

	private String roleName;

	public String getRoleName (){
		return this.roleName;
	}

	public void setRoleName (String roleName){
		 this.roleName=roleName;
	}

	private String roleDesc;

	public String getRoleDesc (){
		return this.roleDesc;
	}

	public void setRoleDesc (String roleDesc){
		 this.roleDesc=roleDesc;
	}

	private int userId;

	public int getUserId (){
		return this.userId;
	}

	public void setUserId (int userId){
		 this.userId=userId;
	}

	private String userName;

	public String getUserName (){
		return this.userName;
	}

	public void setUserName (String userName){
		 this.userName=userName;
	}

	private java.util.Date createDate;

	public java.util.Date getCreateDate (){
		return this.createDate;
	}

	public void setCreateDate (java.util.Date createDate){
		 this.createDate=createDate;
	}
	private List<User> users;

	public List<User> getUsers() {
		return users;
	}

	public void setUsers(List<User> users) {
		this.users = users;
	}
	

}
